#define _CRT_SECURE_NO_WARNINGS	

#include<stdio.h>

int main()
{
    int n;
    scanf("%d", &n);
    printf("%d = %d + %d*10 + %d*100", n, n % 10, n / 10 % 10, n / 100);
    return 0;
}